<template>
<div class="pad20">
    <div class=" clearfix">
        <span>
            <span>服务类型</span>
            <el-select class="left10" v-model="value" placeholder="请选择">
                <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value">
                </el-option>
            </el-select>
        </span>
        <span class="left20">
            <span>服务项目</span>
            <el-select class="left10" v-model="value" placeholder="请选择">
                <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value">
                </el-option>
            </el-select>
        </span>
        <el-button type="primary">搜索</el-button>
        <el-button type="primary" class="right">新增</el-button>
    </div>
    <el-table ref="multipleTable" class="top20" :data="list" fit highlight-current-row style="width: 100%;" header-row-class-name="tableHeader">
        <el-table-column label="服务类型" prop="a" align='center'></el-table-column>
        <el-table-column label="服务项目" prop="b" align='center'></el-table-column>
        <el-table-column label="说明" prop="c" align='center'></el-table-column>
        <el-table-column label="操作" prop="isEnable" align='center' width='200'>
            <template slot-scope="{row,$index}">
                <el-button type="primary">编辑</el-button>
                <el-button type="danger" class="left10">删除</el-button>
            </template>
        </el-table-column>
    </el-table>
    <div class="align-right top20">
        <el-pagination v-show="total>0" :total="total" :current-page.sync="originalQuery.pageNumber" :page-size="originalQuery.pageSize" background layout="prev, pager, next" @current-change="getList" @size-change="sizeChange" />
    </div>
</div>
</template>

<script>
export default {
    components: {},
    data() {
        return {
            daterange: '',
            list:[
                {a: '助餐', b: '幸福套餐', c: '老人持卡到指定位置领饭后，在大厅就餐'},
                {a: '助洁', b: '擦玻璃服务', c: '老人预约擦玻璃服务，服务人员到老人家擦玻璃'},
                {a: '护助', b: '上门理发', c: '上门为老人理发'},
                {a: '助医', b: '陪同就医', c: '陪同老人到医院就医'},
                {a: '助乐', b: '陪聊服务', c: '陪同老人聊天'},
                {a: '助行', b: '陪伴老人外出散步', c: '陪同老人散步一小时'},
                {a: '护助', b: '老人衣物清洗和更换', c: '帮老人洗衣服和更换衣物'},
                {a: '助洁', b: '打扫卫生', c: '上门为老人打扫卫生'},
            ],
            total: 4000,
            originalQuery: {
                pageNumber: 1,
                pageSize: 20,
            },
            input: '',
            value: '',
            options: [{
                    label: '一级',
                    value: 1
                },
                {
                    label: '二级',
                    value: 2
                },
                {
                    label: '三级',
                    value: 3
                },
            ]
        };
    },
    computed: {},
    watch: {},
    created() {},
    mounted() {},
    methods: {
        sizeChange(){

        },
        getList(){
            
        }
    }
};
</script>

<style scoped>

</style>
